package com.asman.vr;

import android.content.Context;
import android.util.AttributeSet;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.RelativeLayout;

public class CustomView extends RelativeLayout {
    public CustomView(Context context) {
        super(context);
        LayoutInflater.from(context).inflate(R.layout.my_view, this);
    }

    public CustomView(Context context, AttributeSet attrs) {
        super(context, attrs);

        View inflate = inflate(getContext(), R.layout.my_view, this);
    }

    public CustomView(Context context, AttributeSet attrs, int defStyleAttr) {
        super(context, attrs, defStyleAttr);
    }
}
